import { createApp } from 'vue'
import App from './App.vue'
// import './index.css'
// 移动端自适应插件
import 'lib-flexible'
// vant pc端适配
import '@vant/touch-emulator'
// 路由插件router4
import $router  from '@/router'
import store from '@/store'

import { 
	Button, Row, Col, Cell, CellGroup, List, PullRefresh, Tab, Tabs, Search,Icon, NavBar,
	Grid, GridItem,
	Field, Switch, Tabbar, TabbarItem, Form, Popup, Circle, Picker,
	Uploader, Image, Swipe, SwipeItem, Sticky, Lazyload,
	Empty, Skeleton, Tag, Popover

} from 'vant'
// import '@/mock'
createApp(App).use(store).use($router)
.use(Button).use(Row).use(Col).use(Cell).use(CellGroup).use(List).use(PullRefresh).use(Tab).use(Tabs).use(Search).use(Icon).use(NavBar)
.use(Grid).use(GridItem)
.use(Field).use(Switch).use(Tabbar).use(TabbarItem).use(Form).use(Popup).use(Circle).use(Picker)
.use(Uploader).use(Image).use(Swipe).use(SwipeItem).use(Sticky).use(Lazyload, {lazyComponent: true})
.use(Empty).use(Skeleton).use(Tag).use(Popover)
.mount('#app')
